package com.own.core.object;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.own.core.html.form.textArea.TextArea;
import com.own.core.html.form.textField.TextField;

//@Entity
//@Table(name = "User_Property")
public class UserProperty extends Dao {

	private long id;
	private User user;
	private String property;
	private String type;

	private String strValue;
	private Integer intValue;
	private float floatValue;
	private long longValue;

	@Id
	@GeneratedValue(strategy = GenerationType.TABLE)
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	@Transient 
	public String getName() {

		return property;
	}

}
